package com.nuoniu.sibanyun.entity.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
@ApiModel("盘存业务 查询条件")
public class VInventoryCheckMainSearchDto {

    @ApiModelProperty(value = "仓库ID")
    private Integer warehouseId;

    @ApiModelProperty(value = "单据日期_开始")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd" )
    private LocalDate voucherDateStart;

    @ApiModelProperty(value = "单据日期_结束")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd" )
    private LocalDate voucherDateEnd;

    @ApiModelProperty(value = "单据编码")
    private String voucherCode;

    @ApiModelProperty(value = "单据状态")
    private Integer voucherState;

    @ApiModelProperty(value = "是否 只查询盈亏")
    private Boolean isLossOrGain = false;
}
